# kill unicorn
ps -ef | grep 'unicorn master' | awk '{if(NR==1){print $2}}' | xargs kill -9
# start unicorn
# unicorn -E production -D -c /home/www/express/config/unicorn.rb
CMD="unicorn -E production -D -c /home/www/express/config/unicorn.rb"
$CMD
# nginx restart
sudo service nginx restart